<div class="row-fluid">
	<div class="span12">
		<ul class="breadcrumb">
			<li>
				<a href="index.php">
					<i class="radmin-icon radmin-home"></i>
					<?php echo t('page', 'Dashboard'); ?>
				</a>
				<span class="divider">/</span>
			</li>
			<li class="active">
				<i class="radmin-icon radmin-cog"></i>
				<?php echo t('page', 'Configuration'); ?>
			</li>
		</ul>
	</div>
</div>

<div class="row-fluid">
	<div class="span12">
		<h4 class="title"><a href="#"><i class="radmin-icon radmin-help"></i></a> <?php echo t('page', 'Configuration'); ?></h4>
		<div class="squiggly-border"></div>
		
		<?php if(!empty($info)): ?>
			<div class="row-fluid">
				<div class="span12 add_user_form_info" id="add_user_success_info">
					<div class="alert alter-block alert-success">
			<!--				<button type="button" class="close" data-dismiss="alert">&times;</button>-->
						<h4>Success</h4>
						<div class="content"><?php echo $info; ?></div>
					</div>
				</div>
			</div>
		<?php endif; ?>
		
		<?php $siteConfigFormErrors = $siteConfigForm->getErrors(); ?>
		<?php if(!empty($siteConfigFormErrors)): ?>
			<div class="row-fluid">
				<div class="span12">
					<div class="alert alter-block alert-error">
						<button type="button" class="close" data-dismiss="alert">&times;</button>
						<h4>Error</h4>
						<div class="content">
							<?php foreach($siteConfigFormErrors as $k => $errors): ?>
								<?php foreach($errors as $error): ?>
									<p><?php echo $k; ?>: <?php echo $error; ?></p>
								<?php endforeach; ?>
							<?php endforeach; ?>
						</div>
					</div>
				</div>
			</div>
		<?php endif; ?>
		
		<?php $this->renderPartial('forms/_site_config', array('siteConfigForm' => $siteConfigForm, 'siteConfig' => '$siteConfig')); ?>
	</div>
</div>